<div class="tableToolbar">
	<div class="coll-md-8" id="addInput">
		<div class="coll-md-2">
			<input type="text" class='search' placeholder="手机号码" ng-model="ctrlScope.itemsearch.mobile">
		</div>
		<div class="coll-md-1">
			<input type="text" class='search' placeholder="姓名" ng-model="ctrlScope.itemsearch.userName">
		</div>
		<div class="coll-md-1 scalenone" id="search2">
			<div class="coll-md-10 triangle">
				<select class="form-control"  ng-model="ctrlScope.itemsearch.itemStatus">
					<option value="" disabled selected hidden>用户状态</option>
					<option value="1">开启</option>
					<option value="0">关闭</option>
				</select>
			</div>
		</div>
		<div class="coll-md-3 scalenone"  id="searchdate" datahide>
			<div class="coll-md-5" >
				<p class="input-group">
					<input type="text" class="search" placeholder="开始时间" uib-datepicker-popup="yyyy-MM-dd"
						   ng-model="ctrlScope.itemsearch.beginDateTimex" is-open="popup1.opened" datepicker-options="dateOptions"
						   ng-minlength="1" />
						<span class="input-group-btn">
							            <button type="button" class="small-icon btn btn-default" ng-click="open1()"><i
												class="glyphicon glyphicon-calendar"></i></button>
							          </span>
				</p>
			</div>
			<div class="coll-md-5">
				<p class="input-group inline">
					<input type="text" class="search" placeholder="结束时间" uib-datepicker-popup="yyyy-MM-dd"
						   ng-model="ctrlScope.itemsearch.endDateTimex" is-open="popup2.opened" datepicker-options="dateOptions"
						   ng-minlength="1" />
					<span class="input-group-btn">
						<button type="button" class="small-icon btn btn-default" ng-click="open2()">
							<i class="glyphicon glyphicon-calendar"></i>
						</button>
					</span>
				</p>
			</div>
		</div>
		<div class="coll-md-2">
			<input type="button" class="small-icon search2-icon" value="搜索" ng-click="search()">
			<input type="button" class="small-icon search2" value="搜索">
			<input type="button" class="small-icon reset-icon" reset-icon value="重置" ng-click="reset()">
			<input type="button" class="small-icon reset" value="重置">

			<div class="dropdown-menu-right">
				<input type="button" class="small-icon more-icon" value="更多" title='更多搜索项' id="more-icon" data-toggle="dropdown"
					   aria-haspopup="true" aria-expanded="false">
				<input type="button" class="small-icon more" value="更多">
				<ul class="dropdown-menu" style='margin-left:80px;' aria-labelledby="dropdownMenu2" more-search>
					<li><a href="javascript:;">其他条件搜索</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div class="coll-md-1">
		<button class="small-icon btn btn-default pos-right" ng-click="download()">
			<i class="fa fa-download"></i>
		</button>
	</div>
</div>
<table ui-table="orderParams">
	<thead>
		<tr>
			<th>规则序号</th>
			<th>手机号码</th>
			<th>姓名</th>
			<th>启用状态</th>
			<th>金额类型</th>
			<th>投资金额</th>
			<th>投资余额</th>
			<th>年率范围</th>
			<th>天标范围</th>
			<th>添加时间</th>
		</tr>
	</thead>

	<tbody>
		<tr ng-repeat="item in orderParams.$rows">
			<td>{{item.id}}</td>
			<td>{{item.mobile}}</td>
			<td>{{item.userName}}</td>
			<td>{{item.itemStatus | extendStatus}}</td>
			<td>{{item.itemAmountType | amountType}}</td>
			<td>{{item.itemAmount}} 元</td>
			<td>{{item.balance}} 元</td>
			<td>{{item.itemRateMin}} ~ {{item.itemRateMax}}%</td>
			<td>{{item.itemDayMin}} ~ {{item.itemDayMax}} 天</td>
			<td>{{item.addtime | date:"yyyy-MM-dd HH:mm:ss"}}</td>
		</tr>
	</tbody>
</table>
